<?php
require 'Home/Controller/Controller.php ';
require 'Home/Model/IndexModel.php';
class ShowController extends Controller{
	function __Construct(){
		parent::__Construct();
		$this->model = new IndexModel();
	}
	function index(){
		$id = $_GET['id'];
		//echo $id;
		//$getList = $this->model->getList();
		$getCartoonType = $this->model->getCartoonType();
		//var_dump($getCartoonType);
		$getCartoonByid = $this->model->getCartoonById($id);
		//var_dump($getCartoonByid);
		//$getTypeByid = $this->model->getCartoonTypeByid($id);
		/*var_dump($getVideoByVid);
		exit;*/
		include 'Home/View/Index/show.php';
	}



	
}
?>